/* wireless_uart.h 
 * Mains application header

 * $Author: b06900 $
 * $Date: 2008/03/05 22:49:28 $
 * $Name:  $
 */
 
//includes
//#include "device_header.h"
#include "pub_def.h"
#include "freescale_radio_hardware.h"

//Prototypes

//Defines

#define CHANNEL_NUMBER      0  
#define OUTPUT_POWER        100

/* EVB */


/* ARD or EVB low power STOP3*/

#define KBDWAIT() _asm stop

#define MC13192_CLKO_FREQ    0x01 /* Sets the MC13192 CLKO frequency */
#define LOW_POWER_WHILE() _asm wait

/*Define WTP adresses and terminal node*/
//#define TERMINAL
#define TERMINAL_ADDRESS 0
#define BRODCAST_ADDRESS 255
#define ACK  "ACK"

#define INITIAL_STATE 0
#define IDLE_STATE 1
#define WAITING_FOR_ACK 2
#define RECEIVER_ALWAYS_ON 3
#define TRANSMIT_ACK 4
#define TRANSMIT_DATA 5
#define TIMEOUT_STATE 6
#define WAITING_FOR_ACK_REPLAY 7
